package com.andy.nacos.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.logging.Logger;


@RestController
@Slf4j
@RequestMapping("/test")
public class ProviderController {

//    private static final Logger LOG = LoggrFaatory.getLogger(ProviderController.class);

    @GetMapping("/service")
    public String service(){
        log.info("provider invoke");
        return "provider invoke";
    }
}
